package com.bright.ghj.overt.service.listener;

import com.bright.ghj.common.util.StringUtil;
import com.bright.ghj.common.util.excel.ExcelReadListener;

import java.util.Map;

/**
 * @Author hxj
 * @Date 2024/1/20 12:02
 * @Description 财务公开的excel读取类
 */
public class OvertExcelReadListener extends ExcelReadListener {

    @Override
    protected boolean isMeetEnd(Map<Integer, String> integerStringMap)  {
        String firstCellValue = integerStringMap.get(0);
        return StringUtil.containsIgnoreCase(firstCellValue, "[贝佳软件]") || StringUtil.contains(firstCellValue, "负责人") || StringUtil.contains(firstCellValue, "填报人");
    }

}
